<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<title><?php echo $title; ?></title>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>

	   <span id="vtip1"> 
	     <?php if (!$this->session->userdata('user_in')){  ?>
		 注册错误!
		 <?php }else{ ?>
		 您好，<?php echo $this->session->userdata('user_name');?>！欢迎您来到xx商城！<a href="<?php echo base_url().'login/logout'?>">[退出]</a> 
		 <?php  }?>
      </span>